﻿<style>
body {
	text-align:center;
	margin:0px;
}
#stafflist_content {
	position:absolute;
	width:550px;
	height:auto;
	left:20px;
	top:80px;
	background:#f5fbee;	
	
}
#stafflist_top {
	width:550px;
	height:auto;
	background:#f5fbee;
	
}
#stafflist_bottom {
	width:550px;
	height:auto;
	background:#f5fbee;
}
#stafflist_top table tbody tr td {
	font-family: "ＭＳ Ｐゴシック", "ＭＳ ゴシック", "ＭＳ Ｐ明朝", "ＭＳ 明朝", "MS UI Gothic";
	font-size: 14px;
	text-align: center;
}
#stafflist_content #stafflist_bottom table tbody tr td {
	font-family: "ＭＳ Ｐゴシック", "ＭＳ ゴシック", "ＭＳ Ｐ明朝", "ＭＳ 明朝", "MS UI Gothic";
	font-size: 14px;
	text-align: center;
}
</style>
<!--{include common_head}-->

<div id="stafflist_content">
<div id=stafflist_top>
<table cellspacing="0" cellpadding="3" border="1" width="500">
    <tbody>
    <tr>
  		<td>検索時間</td>
  		<td>検索店舗</td>
  	</tr>
  	<tr>
  		<form action="/staffList.php" method="get">
  		<td><input type="text" name="search_date" value="{$year}-${sprintf("%02d",$month)}-${sprintf("%02d",$day)}"/></td>
  		<td>
			<select name="shop_id" class="f-city">
				<option value="0">選択してください</option>
				${Utility::Option(Utility::OptionArray($shopList, 'id', 'shop_name'), $defaultShopId)}
			</select>
      	</td>
      	<td>
      		<input type="submit" value="search"/>
      	</td>
      	</form>
  	</tr>
    <tr>
      <td align="center" width="116">スタッフ名</td>
      <td align="center" width="52">性別</td>
      <td align="center" width="251">コース選択</td>
    </tr>
    <!--{loop $staffList $index $one}-->
    <tr>
      <td>{$one['family_name']} {$one['personal_name']}</td>
      <!--{if $one['sex'] == 1}-->
      <td>男性</td>
      <!--{else}-->
      <td>女性</td>
      <!--{/if}-->
      <td>
      		<?php $skills = StaffSkill::GetServicesById($one['id']); ?>
      		<!--{loop $skills $index1 $one1}-->
			<label>{$one1['service_name']}</label>,
		  <!--{/loop}-->
	  </td>
    </tr>
   <!--{/loop}-->
  </tbody></table>
</div>
<div id="stafflist_bottom">
	<p style="font-family:'ＭＳ Ｐゴシック', 'ＭＳ ゴシック', 'ＭＳ Ｐ明朝', 'ＭＳ 明朝', 'MS UI Gothic'; font-size:16px; font-weight: bold;">在籍スタッフ
	<table cellspacing="0" cellpadding="3" border="1" width="500">
    <tbody>
    
    <tr>
      <td align="center" width="134">スタッフ名</td>
      <td align="center" width="82">性別</td>
      <td align="center" width="80">コース選択</td>
    </tr>
    <!--{loop $workStaffList $index $one}-->
    <tr>
      <td>{$one['family_name']} {$one['personal_name']}</td>
      <!--{if $one['sex'] == 1}-->
      <td>男性</td>
      <!--{else}-->
      <td>女性</td>
      <!--{/if}-->
      <td width="170">
      		<?php $skills = StaffSkill::GetServicesById($one['id']); ?>
      		<!--{loop $skills $index1 $one1}-->
			<label>{$one1['service_name']}</label>,
		  <!--{/loop}-->
	  </td>
    </tr>
   <!--{/loop}-->
  </tbody></table>
</div>

  
</div>


<script type="text/javascript">

</script>
</body>
</html>